//
//  Event.h
//  FH2go
//
//  Created by Hannes Feichtl on 11.06.13.
//  Copyright (c) 2013 Hannes Feichtl. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Event : NSObject

@property(nonatomic, copy) NSString *title;
@property(nonatomic, copy) NSString *lecturer;
@property(nonatomic, copy) NSString *location;
@property(nonatomic, copy) NSString *type;
@property(nonatomic, copy) NSString *description1;
@property(nonatomic) int start;
@property(nonatomic) int end;
/*
 initialize an Event object from a dictionary
 <Title>DataWHundT_Bohnebeck</Title><Lecturer>Wilhelm Zugaj</Lecturer><Location>HS103</Location><Type>VO</Type><Start>1371019500</Start><End>1371024900</End>
 */
- (id)initWithDict:(NSDictionary*)dict;
-(NSString*)getTitle;
-(NSString*)getDesc;
@end
